package cn.zt.service.impl;

import cn.zt.dao.FileModelDao;
import cn.zt.dao.PictureModelDao;
import cn.zt.model.FileModel;
import cn.zt.model.PictureModel;
import cn.zt.model.RotaionPicture;
import cn.zt.service.FileModelService;
import cn.zt.service.PictureModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PictrueModelServiceImpl implements PictureModelService {

    @Autowired
    private PictureModelDao pictureModelDao;

    @Override
    public void savePicture(PictureModel pictureModel) {
        pictureModelDao.savePicture(pictureModel);
    }

    @Override
    public List<PictureModel> queryPictureVideoList() {
        return pictureModelDao.queryPictureVideoList();
    }
}

